package com.yuan.order.dto;

import lombok.Data;

/**
 * 商品库存传输对象
 *
 * @Author yuan
 * @Date 2021/2/25 14:09
 */
@Data
public class CartDTO {
    /**
     * 商品id.
     */
    private String productId;
    /**
     * 商品数量.
     */
    private Integer productQuantity;

    public CartDTO(String productId, Integer productQuantity) {
        this.productId = productId;
        this.productQuantity = productQuantity;
    }
}
